package com.ruoyi.hotSpot.service.impl;


import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.hotSpot.domain.A2DynamicsInfo;
import com.ruoyi.hotSpot.domain.dto.A2DynamicsInfoCondition;
import com.ruoyi.hotSpot.domain.dto.A2StaticInfoCondition;
import com.ruoyi.hotSpot.service.IA2DynamicsInfoService;
import com.ruoyi.hotSpot.service.IA2Service;
import com.ruoyi.hotSpot.service.IA2StaticInfoService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Slf4j
@Service
public class A2ServiceImpl implements IA2Service
{

    @Autowired
    private IA2StaticInfoService a2StaticInfoService;

    @Autowired
    private IA2DynamicsInfoService a2DynamicsInfoService;

    @Override
    public TableDataInfo a2StaticInfoList(A2StaticInfoCondition condition) {
        return a2StaticInfoService.page(condition);
    }

    @Override
    public TableDataInfo a2DynamicsInfoList(A2DynamicsInfoCondition condition) {
        return a2DynamicsInfoService.page(condition);
    }

    @Override
    public List<A2DynamicsInfo> a2DynamicsInfoHistory(A2DynamicsInfoCondition condition) {
        return a2DynamicsInfoService.a2DynamicsInfoHistory(condition);
    }


}
